package com.example.lin.jd_banner.pojo;

import java.util.List;

public class BannerData {


    /**
     * status : ok
     * paramz : {"tops":[{"id":11953,"oid":288333,"category":"article","photo":"/Attachs/Top/11953/0fc33b52defb49989534b7d5c0bf9654.jpg","subject":"荔枝新闻3.0改版升级通告"},{"id":11952,"oid":7986,"category":"map","photo":"/Attachs/Top/11952/86d20488636f46ed8b6b9c38fca9142c.jpg","subject":"暖心！2岁萝莉术前害怕 医生叔叔安慰"},{"id":11949,"oid":7981,"category":"map","photo":"/Attachs/Top/11949/e650e0201de541d2ba91dca202b0fcfe.jpg","subject":"摄影师拍摄各地秋收图"},{"id":11951,"oid":7984,"category":"map","photo":"/Attachs/Top/11951/554a7e5c85a14852a992a8cfb1cf2fd6.jpg","subject":"南京一男子闹市模仿杰克逊车顶热舞"},{"id":11939,"oid":7977,"category":"map","photo":"/Attachs/Top/11939/6584f299124d4dea8603f681d519eb57.jpg","subject":"日示威者高举喇叭 抗议新安保法通过"}],"matches":[],"links":[]}
     */
    private String status;
    private ParamzBean paramz;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public ParamzBean getParamz() {
        return paramz;
    }

    public void setParamz(ParamzBean paramz) {
        this.paramz = paramz;
    }

    public static class ParamzBean {
        private List<TopsBean> tops;

        public List<TopsBean> getTops() {
            return tops;
        }

        public void setTops(List<TopsBean> tops) {
            this.tops = tops;
        }

        public static class TopsBean {
            /**
             * id : 11953
             * oid : 288333
             * category : article
             * photo : /Attachs/Top/11953/0fc33b52defb49989534b7d5c0bf9654.jpg
             * subject : 荔枝新闻3.0改版升级通告
             */
            private int id;
            private int oid;
            private String category;
            private String photo;
            private String subject;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getOid() {
                return oid;
            }

            public void setOid(int oid) {
                this.oid = oid;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getPhoto() {
                return "http://litchiapi.jstv.com" + photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getSubject() {
                return subject;
            }

            public void setSubject(String subject) {
                this.subject = subject;
            }
        }
    }
}
